// @ts-ignore
/* eslint-disable */
import request from "../request/request";

/** addResignationRequests POST /api/resignationRequests/add */
export async function addResignationRequestsUsingPost(body, options) {
  return request("/api/resignationRequests/add", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** deleteResignationRequests POST /api/resignationRequests/delete */
export async function deleteResignationRequestsUsingPost(body, options) {
  return request("/api/resignationRequests/delete", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** editResignationRequests POST /api/resignationRequests/edit */
export async function editResignationRequestsUsingPost(body, options) {
  return request("/api/resignationRequests/edit", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** doAppReview POST /api/resignationRequests/review */
export async function doAppReviewUsingPost1(body, options) {
  return request("/api/resignationRequests/review", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** getResignationRequestsVOById GET /api/resignationRequests/get/vo */
export async function getResignationRequestsVoByIdUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options
) {
  return request("/api/resignationRequests/get/vo", {
    method: "GET",
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** listResignationRequestsByPage POST /api/resignationRequests/list/page */
export async function listResignationRequestsByPageUsingPost(body, options) {
  return request("/api/resignationRequests/list/page", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listResignationRequestsVOByPage POST /api/resignationRequests/list/page/vo */
export async function listResignationRequestsVoByPageUsingPost(body, options) {
  return request("/api/resignationRequests/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listMyResignationRequestsVOByPage POST /api/resignationRequests/my/list/page/vo */
export async function listMyResignationRequestsVoByPageUsingPost(
  body,
  options
) {
  return request("/api/resignationRequests/my/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** updateResignationRequests POST /api/resignationRequests/update */
export async function updateResignationRequestsUsingPost(body, options) {
  return request("/api/resignationRequests/update", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
